<%@ page import="projectmanagerapp.User" %>


<%@ page contentType="text/html;charset=ISO-8859-1" %>
<!doctype html>
<html>
<head>
<meta name="layout" content="main">
<style type="text/css" media="screen">
#status {
background-color: #eee;
border: .2em solid #fff;
margin: 2em 2em 1em;
padding: 1em;
width: 12em;
float: left;
-moz-box-shadow: 0px 0px 1.25em #ccc;
-webkit-box-shadow: 0px 0px 1.25em #ccc;
box-shadow: 0px 0px 1.25em #ccc;
-moz-border-radius: 0.6em;
-webkit-border-radius: 0.6em;
border-radius: 0.6em;
}

.ie6 #status {
display: inline; /* float double margin fix http://www.positioniseverything.net/explorer/doubled-margin.html */
}

#status ul {
font-size: 0.9em;
list-style-type: none;
margin-bottom: 0.6em;
padding: 0;
}

#status li {
line-height: 1.3;
}

#status h1 {
text-transform: uppercase;
font-size: 1.1em;
margin: 0 0 0.3em;
}

#page-body {
margin: 2em 1em 1.25em 18em;
}

h2 {
margin-top: 1em;
margin-bottom: 0.3em;
font-size: 1em;
}

p {
line-height: 1.5;
margin: 0.25em 0;
}

#controller-list ul {
list-style-position: inside;
}

#controller-list li {
line-height: 1.3;
list-style-position: inside;
margin: 0.25em 0;
}

@media screen and (max-width: 480px) {
#status {
display: none;
}

#page-body {
margin: 0 1em 1em;
}

#page-body h1 {
margin-top: 0;
}
}
</style>
<meta name="layout" content="main1">
<title><g:message code="Project Manager" /></title>

</head>



<body>
<a href="#show-role" class="skip" tabindex="-1"><g:message code="default.link.skip.label" default="Skip to content&hellip;"/></a>

<div class="nav" role="navigation">
<ul>
<li><a class="home" href="${createLink(uri: '/')}"><g:message code="default.home.label"/></a></li>

<g:if test="${session.user == null}">

<li><g:link class="login" controller= "user" action="login"><g:message code="Login" args="[entityName]" /></g:link></li>
</g:if>

<g:else>
<li><g:link class="login" controller= "user" action="logout"><g:message code="Logout" args="[entityName]" /></g:link></li> </g:else>
</ul>
</div>

<div class="body">

<div id="page-body" role="main">
<h1>Project Manager</h1>
<p>Welcome to the Admin page.</p>

<div id="controller-list" role="navigation">
<h2>Manage Users</h2>
<ul>
<li><g:link class="controller" controller="User" action="list">User List</g:link></li>
<li><g:link controller="User" action="create">Add User</g:link></li>
</ul>


</div>
</div>

</div>
</body>
</html>

